<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <base data-ice="baseUrl" href="../../../">
  <title data-ice="title">core/profile/user-config.js | API</title>
  <link type="text/css" rel="stylesheet" href="css/style.css">
  <link type="text/css" rel="stylesheet" href="css/prettify-tomorrow.css">
  <script src="script/prettify/prettify.js"></script>
  <script src="script/manual.js"></script>
<link rel="stylesheet" href="./inject/css/0-vue.css"><link rel="stylesheet" href="./inject/css/0-app.css"><link rel="stylesheet" href="./inject/css/0-esdoc.css"><script src="./inject/script/0-custom.js"></script><meta name="description" content="&#x4F01;&#x4E1A;&#x5373;&#x65F6;&#x901A;&#x8BAF;&#x5E73;&#x53F0;"><meta property="twitter:card" content="summary"><meta property="twitter:title" content="API"><meta property="twitter:description" content="&#x4F01;&#x4E1A;&#x5373;&#x65F6;&#x901A;&#x8BAF;&#x5E73;&#x53F0;"></head>
<body class="layout-container" data-ice="rootContainer">

<header>
  <a href="./">Home</a>
  
  <a href="identifiers.html">Reference</a>
  <a href="source.html">Source</a>
  
  <div class="search-box">
  <span>
    <img src="./image/search.png">
    <span class="search-input-edge"></span><input class="search-input"><span class="search-input-edge"></span>
  </span>
    <ul class="search-result"></ul>
  </div>
<a style="position:relative; top:3px;" href="https://github.com/easysoft/xuanxuan.git"><img width="20px" src="./image/github.png"></a></header>

<nav class="navigation" data-ice="nav"><div>
  <ul>
    
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/events.js~Events.html">Events</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createCommandObject">createCommandObject</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-executeCommand">executeCommand</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-executeCommandLine">executeCommandLine</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getCommandContext">getCommandContext</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-registerCommand">registerCommand</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setCommandContext">setCommandContext</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-unregisterCommand">unregisterCommand</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-addContextMenuCreator">addContextMenuCreator</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getInnerMenuItemsForContext">getInnerMenuItemsForContext</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getMenuItemsForContext">getMenuItemsForContext</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getMenuItemsFromCreator">getMenuItemsFromCreator</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isCreatorMatch">isCreatorMatch</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isDividerItem">isDividerItem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-removeContextMenuCreator">removeContextMenuCreator</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-showContextMenu">showContextMenu</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-tryAddDividerItem">tryAddDividerItem</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-tryRemoveLastDivider">tryRemoveLastDivider</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-deptsSorter">deptsSorter</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-forEachMember">forEachMember</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getAllMembers">getAllMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getDept">getDept</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getDeptsTree">getDeptsTree</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getMember">getMember</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getRoleName">getRoleName</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-guessMember">guessMember</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-initDepts">initDepts</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-initMembers">initMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onMembersChange">onMembersChange</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-queryMembers">queryMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-removeMember">removeMember</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updateMembers">updateMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isMatchWindowCondition">isMatchWindowCondition</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onNoticeUpdate">onNoticeUpdate</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updateNotice">updateNotice</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-ready">ready</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sayReady">sayReady</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-completeDragNDrop">completeDragNDrop</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-disableGlobalShortcut">disableGlobalShortcut</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-emitAppLinkClick">emitAppLinkClick</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-enableGlobalShortcut">enableGlobalShortcut</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getUrlMeta">getUrlMeta</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isAutoLoginNextTime">isAutoLoginNextTime</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isSmallScreen">isSmallScreen</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onAppLinkClick">onAppLinkClick</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onReady">onReady</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-openUrl">openUrl</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-openUrlInApp">openUrlInApp</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-openUrlInBrowser">openUrlInBrowser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-openUrlInDialog">openUrlInDialog</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-registerShortcut">registerShortcut</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-reloadWindow">reloadWindow</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setTitle">setTitle</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-showMobileChatsMenu">showMobileChatsMenu</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-triggerReady">triggerReady</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-unregisterGlobalShortcut">unregisterGlobalShortcut</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-contextMenuCreators">contextMenuCreators</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-DATA_CHANGE_DELAY">DATA_CHANGE_DELAY</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-events">events</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-app">app</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-depts">depts</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-members">members</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-roles">roles</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-DEFAULT">DEFAULT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-requestAttention">requestAttention</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-isReadyed">isReadyed</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-clearCopyCodeTip">clearCopyCodeTip</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-entryParams">entryParams</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-globalHotkeys">globalHotkeys</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-isGlobalShortcutDisabled">isGlobalShortcutDisabled</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-maxUrlCacheSize">maxUrlCacheSize</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-quit">quit</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-urlMetaCaches">urlMetaCaches</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#db">db</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/db/database.js~Database.html">Database</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-DB_VERSION">DB_VERSION</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-lastCreateDb">lastCreateDb</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-db">db</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#im">im</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-countChatMessages">countChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createChatMessage">createChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createCountMessagesTask">createCountMessagesTask</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-deleteLocalMessage">deleteLocalMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-forEachChat">forEachChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getAllChats">getAllChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getChat">getChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getChatCategories">getChatCategories</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getChatFiles">getChatFiles</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getChatMessages">getChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getChatMessagesInQueue">getChatMessagesInQueue</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getContactChat">getContactChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getContactsChats">getContactsChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getGroupsChats">getGroupsChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getLastActiveChat">getLastActiveChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getLastRecentChat">getLastRecentChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getOne2OneChatGid">getOne2OneChatGid</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getPublicChats">getPublicChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getRecentChats">getRecentChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-initChats">initChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-loadChatMessages">loadChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatMessages">onChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatsInit">onChatsInit</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onFetchQueueFinish">onFetchQueueFinish</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-processChatMessageQueue">processChatMessageQueue</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-queryChats">queryChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-removeChat">removeChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-saveChatMessages">saveChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-searchChatMessages">searchChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-searchChats">searchChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updateChatMessages">updateChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updateChats">updateChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updatePublicChats">updatePublicChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-checkFileCache">checkFileCache</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-checkUploadFileSize">checkUploadFileSize</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-downloadFile">downloadFile</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-loadFiles">loadFiles</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-searchFiles">searchFiles</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-uploadFile">uploadFile</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-uploadImageFile">uploadImageFile</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getPlainTextOfChatMessage">getPlainTextOfChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-runChatNoticeTask">runChatNoticeTask</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatAddmember">chatAddmember</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatCategory">chatCategory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatChangename">chatChangename</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatChangepublic">chatChangepublic</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatCreate">chatCreate</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatDismiss">chatDismiss</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatGetlist">chatGetlist</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatGetpubliclist">chatGetpubliclist</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatHide">chatHide</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatHistory">chatHistory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatJoinchat">chatJoinchat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatMessage">chatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatMute">chatMute</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatNotify">chatNotify</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatSetcomitters">chatSetcomitters</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatStar">chatStar</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createBoardChatMessage">createBoardChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createChat">createChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createChatWithMembers">createChatWithMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createEmojiChatMessage">createEmojiChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createLocalChatWithMembers">createLocalChatWithMembers</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createTextChatMessage">createTextChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createUrlObjectMessage">createUrlObjectMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-dimissChat">dimissChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-exitChat">exitChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-fetchChatsHistory">fetchChatsHistory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-fetchPublicChats">fetchPublicChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-handleInitChats">handleInitChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-handleReceiveChatMessages">handleReceiveChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-inviteMembersToChat">inviteMembersToChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isFetchingHistory">isFetchingHistory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-joinChat">joinChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-kickOfMemberFromChat">kickOfMemberFromChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatHistory">onChatHistory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatHistoryEnd">onChatHistoryEnd</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatHistoryStart">onChatHistoryStart</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onReceiveChatMessages">onReceiveChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onSendChatMessages">onSendChatMessages</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-renameChat">renameChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendBoardChatMessage">sendBoardChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendChatMessage">sendChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendEmojiMessage">sendEmojiMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendFileMessage">sendFileMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendImageAsBase64">sendImageAsBase64</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendImageMessage">sendImageMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendSocketMessageForChat">sendSocketMessageForChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendTextMessage">sendTextMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setChatCategory">setChatCategory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setCommitters">setCommitters</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-toggleChatPublic">toggleChatPublic</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-toggleChatStar">toggleChatStar</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-toggleHideChat">toggleHideChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-toggleMuteChat">toggleMuteChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-updateChatHistory">updateChatHistory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-activeAndMapCacheChats">activeAndMapCacheChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-activeChat">activeChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-activeLastChat">activeLastChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-captureAndCutScreenImage">captureAndCutScreenImage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatDismissConfirm">chatDismissConfirm</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatExitConfirm">chatExitConfirm</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatRenamePrompt">chatRenamePrompt</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createCatureScreenContextMenuItems">createCatureScreenContextMenuItems</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createGroupChat">createGroupChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-emitChatSendboxFocus">emitChatSendboxFocus</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-hasMessageContextMenu">hasMessageContextMenu</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isActiveChat">isActiveChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-linkMembersInText">linkMembersInText</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-mapCacheChats">mapCacheChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onActiveChat">onActiveChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onChatSendboxFocus">onChatSendboxFocus</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onRenderChatMessageContent">onRenderChatMessageContent</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onSendContentToChat">onSendContentToChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onSuggestSendImage">onSuggestSendImage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-renameChatCategory">renameChatCategory</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-renderChatMessageContent">renderChatMessageContent</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-sendContentToChat">sendContentToChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-CHATS_LIMIT_DEFAULT">CHATS_LIMIT_DEFAULT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MAX_RECENT_TIME">MAX_RECENT_TIME</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-SEARCH_SCORE_MAP">SEARCH_SCORE_MAP</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-app">app</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-chats">chats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-fetchChatMessagesQueue">fetchChatMessagesQueue</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-isGetChatMessagesQueueBusy">isGetChatMessagesQueueBusy</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-publicChats">publicChats</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MIN_PROGRESS_CHANGE_INTERVAL">MIN_PROGRESS_CHANGE_INTERVAL</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-lastNoticeChat">lastNoticeChat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-lastNoticeInfo">lastNoticeInfo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-updateChatNoticeTask">updateChatNoticeTask</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MAX_BASE64_IMAGE_SIZE">MAX_BASE64_IMAGE_SIZE</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-chatJoinTask">chatJoinTask</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-historyFetchingPager">historyFetchingPager</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-activeCaches">activeCaches</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-activedChatId">activedChatId</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-onRenderChatMessageContentListener">onRenderChatMessageContentListener</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#models">models</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/chat-message.js~ChatMessage.html">ChatMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/chat.js~Chat.html">Chat</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/entity-schema.js~EntitySchema.html">EntitySchema</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/entity.js~Entity.html">Entity</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/file-data.js~FileData.html">FileData</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/member.js~Member.html">Member</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/models/notification-message.js~NotificationMessage.html">NotificationMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-dataURItoBlob">dataURItoBlob</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-CONTENT_TYPES">CONTENT_TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-OBJECT_TYPES">OBJECT_TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-SEND_WAIT_TIME">SEND_WAIT_TIME</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-STATUS">STATUS</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TYPES">TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-COMMITTERS_TYPES">COMMITTERS_TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-DISMISS_VISIBLE_TIME">DISMISS_VISIBLE_TIME</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-STATUS">STATUS</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TYPES">TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TYPES">TYPES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-defaultValuesConveter">defaultValuesConveter</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-CATEGORIES">CATEGORIES</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MATCH_SCORE_MAP">MATCH_SCORE_MAP</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MATCH_SCORE_MAP">MATCH_SCORE_MAP</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-STATUS">STATUS</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#network">network</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/network/socket-message.js~SocketMessage.html">SocketMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/network/socket.js~AppSocket.html">AppSocket</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-checkUploadFileSize">checkUploadFileSize</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getRanzhiServerInfo">getRanzhiServerInfo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-requestServerInfo">requestServerInfo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-listenMessage">listenMessage</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-API">API</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-LISTEN_TIMEOUT">LISTEN_TIMEOUT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-PING_INTERVAL">PING_INTERVAL</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#profile">profile</a><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/profile/user-config.js~UserConfig.html">UserConfig</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/core/profile/user.js~User.html">User</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createUser">createUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getCurrentUser">getCurrentUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-getLastSavedUser">getLastSavedUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isCurrentUser">isCurrentUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onSwapUser">onSwapUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onUserConfigChange">onUserConfigChange</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onUserStatusChange">onUserStatusChange</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-setCurrentUser">setCurrentUser</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-isPasswordWithMD5Flag">isPasswordWithMD5Flag</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-user">user</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-PASSWORD_WITH_MD5_FLAG">PASSWORD_WITH_MD5_FLAG</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#server">server</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-changeUserStatus">changeUserStatus</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-checkServerVersion">checkServerVersion</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-checkVersionSupport">checkVersionSupport</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-fetchUserList">fetchUserList</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-login">login</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-logout">logout</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onUserLogin">onUserLogin</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-onUserLoginout">onUserLoginout</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-tryGetTempUserInfo">tryGetTempUserInfo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatError">chatError</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatKickoff">chatKickoff</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatLogin">chatLogin</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatLogout">chatLogout</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatSessionID">chatSessionID</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatSettings">chatSettings</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatUserChangeStatus">chatUserChangeStatus</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatUserchange">chatUserchange</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-chatUsergetlist">chatUsergetlist</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MIN_SUPPORT_VERSION">MIN_SUPPORT_VERSION</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TIMEOUT">TIMEOUT</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-lastGetTempUserCall">lastGetTempUserCall</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-socket">socket</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-tempUserIdList">tempUserIdList</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-EVENT">EVENT</a></span></span></li>
<li data-ice="doc"><a data-ice="dirPath" class="nav-dir-path" href="identifiers.html#todo">todo</a><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createTodo">createTodo</a></span></span></li>
<li data-ice="doc"><span data-ice="kind" class="kind-function">F</span><span data-ice="name"><span><a href="function/index.html#static-function-createTodoFromMessage">createTodoFromMessage</a></span></span></li>
</ul>
</div>
</nav>

<div class="content" data-ice="content"><h1 data-ice="title">core/profile/user-config.js</h1>
<pre class="source-code line-number raw-source-code"><code class="prettyprint linenums" data-ice="content">import md5 from &apos;md5&apos;;
import Config from &apos;../../config&apos;;
import DEFAULT from &apos;./user-default-config&apos;;
import DelayAction from &apos;../../utils/delay-action&apos;;
import timeSequence from &apos;../../utils/time-sequence&apos;;

/**
 * &#x7528;&#x6237;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x7C7B;
 *
 * @export
 * @class UserConfig
 */
export default class UserConfig {
    /**
     * &#x7528;&#x6237;&#x9ED8;&#x8BA4;&#x914D;&#x7F6E;
     *
     * @static
     * @memberof UserConfig
     * @type {Object&lt;string, any&gt;}
     */
    static DEFAULT = DEFAULT;

    /**
     * &#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x7528;&#x6237;&#x914D;&#x7F6E;&#x7BA1;&#x7406;&#x7C7B;&#x5B9E;&#x4F8B;`
     * @param {Object&lt;string, any&gt;} config &#x7528;&#x6237;&#x914D;&#x7F6E;&#x6570;&#x636E;&#x5BF9;&#x8C61;
     * @memberof UserConfig
     */
    constructor(config) {
        if (config &amp;&amp; config.version !== DEFAULT.version) {
            config = null;
        }
        this.$ = Object.assign({}, DEFAULT, Config.system.defaultConfig, config);

        this.changeAction = new DelayAction(() =&gt; {
            this.onChange(this.lastChange, this);
            this.lastChange = null;
        });

        const {groupsCategories} = this;
        Object.keys(groupsCategories).forEach(x =&gt; {
            const category = groupsCategories[x];
            if (category.order &gt; 1000000000000) {
                if (x.startsWith(&apos;_&apos;)) {
                    category.order = 100000000000 + timeSequence();
                } else {
                    category.order = timeSequence();
                }
            }
        });
        return this.set(&apos;ui.chat.groups.categories&apos;, groupsCategories, true);
    }

    /**
     * &#x83B7;&#x53D6;&#x914D;&#x7F6E;&#x6570;&#x636E;&#x5B58;&#x50A8;&#x5BF9;&#x8C61;
     *
     * @return {Object&lt;string, any&gt;}
     * @memberof UserConfig
     */
    plain() {
        return Object.assign({}, this.$);
    }

    /**
     * &#x5BFC;&#x51FA;&#x7528;&#x4E8E;&#x4E0A;&#x4F20;&#x5230;&#x670D;&#x52A1;&#x5668;&#x7684;&#x6570;&#x636E;&#x5B58;&#x50A8;&#x5BF9;&#x8C61;
     *
     * @return {Object&lt;string, any&gt;}
     * @memberof UserConfig
     */
    exportCloud() {
        const config = {};
        Object.keys(this.$).forEach(key =&gt; {
            if (key.indexOf(&apos;local.&apos;) !== 0) {
                config[key] = this.$[key];
            }
        });
        config.hash = md5(JSON.stringify(config));
        this.hash = config.hash;
        return config;
    }

    /**
     * &#x5C06;&#x7528;&#x6237;&#x914D;&#x7F6E;&#x6807;&#x8BB0;&#x5DF2;&#x53D8;&#x66F4;
     *
     * @param {Object&lt;string, any&gt;} change &#x8981;&#x53D8;&#x66F4;&#x7684;&#x6570;&#x636E;
     * @param {boolean} [reset=false] &#x662F;&#x5426;&#x6807;&#x8BB0;&#x4E3A;&#x5168;&#x90E8;&#x91CD;&#x7F6E;
     * @return {void}
     * @memberof UserConfig
     */
    makeChange(change, reset = false) {
        this.lastChange = Object.assign({}, this.lastChange, change);
        this.$.lastChangeTime = new Date().getTime();
        if (!reset) {
            this.needSave = this.$.lastChangeTime;
        }
        if (typeof this.onChange === &apos;function&apos;) {
            this.changeAction.do();
        }
    }

    /**
     * &#x5C06;&#x7528;&#x6237;&#x914D;&#x7F6E;&#x6570;&#x636E;&#x6807;&#x8BB0;&#x4E3A;&#x9700;&#x8981;&#x5B58;&#x50A8;
     *
     * @memberof UserConfig
     * @return {void}
     */
    makeSave() {
        this.needSave = false;
    }

    /**
     * &#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x540D;&#x79F0;&#x7684;&#x7528;&#x6237;&#x914D;&#x7F6E;&#x9879;&#x503C;
     *
     * @param {string} key &#x914D;&#x7F6E;&#x540D;&#x79F0;
     * @param {?any} defaultValue &#x9ED8;&#x8BA4;&#x503C;
     * @return {any}
     * @memberof UserConfig
     */
    get(key, defaultValue) {
        if (this.$) {
            const val = this.$[key];
            if (val !== undefined) {
                return val;
            }
        }
        if (defaultValue === undefined) {
            defaultValue = DEFAULT[key];
        }
        return defaultValue;
    }

    /**
     * &#x8BBE;&#x7F6E;&#x914D;&#x7F6E;&#x9879;&#x7684;&#x503C;
     *
     * @param {string|Object&lt;string, any&gt;} keyOrObj &#x5982;&#x679C;&#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#x5219;&#x4E3A;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x540D;&#x79F0;&#xFF0C;&#x5982;&#x679C;&#x4E3A;&#x5BF9;&#x8C61;&#x5219;&#x5C06;&#x5BF9;&#x8C61;&#x952E;&#x503C;&#x5BF9;&#x4F5C;&#x4E3A;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;
     * @param {?any} value &#x5F53; {keyOrObj} &#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#x65F6;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x7684;&#x503C;
     * @param {boolean} [reset=false] &#x662F;&#x5426;&#x6807;&#x8BB0;&#x4E3A;&#x5168;&#x90E8;&#x91CD;&#x7F6E;
     * @return {void}
     * @memberof UserConfig
     */
    set(keyOrObj, value, reset = false) {
        if (typeof keyOrObj === &apos;object&apos;) {
            Object.assign(this.$, keyOrObj);
            this.makeChange(keyOrObj, reset);
        } else {
            this.$[keyOrObj] = value;
            this.makeChange({[keyOrObj]: value}, reset);
        }
    }

    /**
     * &#x83B7;&#x53D6;&#x6269;&#x5C55;&#x7684;&#x914D;&#x7F6E;&#x9879;
     *
     * @param {!string} extensionName &#x6269;&#x5C55;&#x540D;&#x79F0;
     * @param {?string} key &#x914D;&#x7F6E;&#x9879;&#x540D;&#x79F0;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x7ED9;&#x5B9A;&#x540D;&#x79F0;&#xFF0C;&#x5219;&#x4EE5;&#x5BF9;&#x8C61;&#x7684;&#x5F62;&#x5F0F;&#x8FD4;&#x56DE;&#x6240;&#x6709;&#x914D;&#x7F6E;&#x9879;
     * @param {?any} defaultValue &#x914D;&#x7F6E;&#x9879;&#x7684;&#x9ED8;&#x8BA4;&#x503C;
     * @return {any}
     * @memberof UserConfig
     */
    getForExtension(extensionName, key, defaultValue) {
        if (typeof extensionName === &apos;object&apos; &amp;&amp; extensionName.name) {
            extensionName = extensionName.name;
        }
        const extensionConfig = this.get(`EXTENSION::${extensionName}`, {});
        const value = key !== undefined ? extensionConfig[key] : extensionConfig;
        return value !== undefined ? value : defaultValue;
    }

    /**
     * &#x8BBE;&#x7F6E;&#x6269;&#x5C55;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x503C;
     *
     * @param {!string} extensionName &#x6269;&#x5C55;&#x540D;&#x79F0;
     * @param {?string} keyOrObj &#x5982;&#x679C;&#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#x5219;&#x4E3A;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x540D;&#x79F0;&#xFF0C;&#x5982;&#x679C;&#x4E3A;&#x5BF9;&#x8C61;&#x5219;&#x5C06;&#x5BF9;&#x8C61;&#x952E;&#x503C;&#x5BF9;&#x4F5C;&#x4E3A;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;
     * @param {?any} value &#x5F53; {keyOrObj} &#x4E3A;&#x5B57;&#x7B26;&#x4E32;&#x65F6;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x7684;&#x503C;
     * @return {void}
     * @memberof UserConfig
     */
    setForExtension(extensionName, keyOrObj, value) {
        const extensionConfig = this.getForExtension(extensionName);
        if (typeof keyOrObj === &apos;object&apos;) {
            Object.assign(extensionConfig, keyOrObj);
        } else {
            extensionConfig[keyOrObj] = value;
        }
        return this.set(`EXTENSION::${extensionName}`, extensionConfig);
    }

    /**
     * &#x5C06;&#x7528;&#x6237;&#x6240;&#x6709;&#x914D;&#x7F6E;&#x9879;&#x91CD;&#x7F6E;&#x4E3A;&#x7ED9;&#x5B9A;&#x7684;&#x914D;&#x7F6E;
     *
     * @param {?Object&lt;string, any&gt;} newConfig &#x8981;&#x91CD;&#x7F6E;&#x7684;&#x914D;&#x7F6E;&#x9879;&#x5BF9;&#x8C61;&#xFF0C;&#x5982;&#x679C;&#x7559;&#x7A7A;&#xFF0C;&#x5219;&#x5C06;&#x914D;&#x7F6E;&#x9879;&#x91CD;&#x7F6E;&#x4E3A;&#x9ED8;&#x8BA4;
     * @return {void}
     * @memberof UserConfig
     */
    reset(newConfig) {
        this.$ = Object.assign({}, DEFAULT, newConfig);
        this.makeChange(this.$, true);
    }

    /**
     * &#x83B7;&#x53D6;&#x4E0A;&#x6B21;&#x914D;&#x7F6E;&#x53D1;&#x751F;&#x53D8;&#x66F4;&#x7684;&#x65F6;&#x95F4;&#x6233;
     *
     * @type {number}
     * @readonly
     * @memberof UserConfig
     */
    get lastChangeTime() {
        return this.$.lastChangeTime;
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x81EA;&#x52A8;&#x91CD;&#x8FDE;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get autoReconnect() {
        return this.get(&apos;user.autoReconnect&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x81EA;&#x52A8;&#x91CD;&#x8FDE;
     *
     * @param {boolean} flag &#x662F;&#x5426;&#x81EA;&#x52A8;&#x91CD;&#x8FDE;
     * @memberof UserConfig
     */
    set autoReconnect(flag) {
        return this.set(&apos;user.autoReconnect&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x7528;&#x6237;&#x5934;&#x50CF;&#x5728;&#x5BFC;&#x822A;&#x4E0A;&#x663E;&#x793A;&#x7684;&#x4F4D;&#x7F6E;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get avatarPosition() {
        return this.get(&apos;ui.navbar.avatarPosition&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x7528;&#x6237;&#x5934;&#x50CF;&#x5728;&#x5BFC;&#x822A;&#x4E0A;&#x663E;&#x793A;&#x7684;&#x4F4D;&#x7F6E;
     *
     * @param {string} position &#x7528;&#x6237;&#x5934;&#x50CF;&#x5728;&#x5BFC;&#x822A;&#x4E0A;&#x663E;&#x793A;&#x7684;&#x4F4D;&#x7F6E;
     * @memberof UserConfig
     */
    set avatarPosition(position) {
        return this.set(&apos;ui.navbar.avatarPosition&apos;, position);
    }

    /**
     * &#x83B7;&#x53D6;&#x4E0A;&#x6B21;&#x4FDD;&#x5B58;&#x914D;&#x7F6E;&#x7684;&#x65F6;&#x95F4;&#x6233;
     *
     * @memberof UserConfig
     * @type {number}
     */
    get lastSaveTime() {
        return this.get(&apos;lastSaveTime&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x4E0A;&#x6B21;&#x4FDD;&#x5B58;&#x914D;&#x7F6E;&#x7684;&#x65F6;&#x95F4;&#x6233;
     *
     * @param {number} time &#x4E0A;&#x6B21;&#x4FDD;&#x5B58;&#x914D;&#x7F6E;&#x7684;&#x65F6;&#x95F4;&#x6233;
     * @memberof UserConfig
     */
    set lastSaveTime(time) {
        if (time instanceof Date) {
            time = time.getTime();
        }
        return this.set(&apos;lastSaveTime&apos;, time);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x663E;&#x793A;&#x53D1;&#x9001;&#x6D88;&#x606F;&#x63D0;&#x793A;&#x9762;&#x677F;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get showMessageTip() {
        return this.get(&apos;ui.chat.showMessageTip&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x663E;&#x793A;&#x53D1;&#x9001;&#x6D88;&#x606F;&#x63D0;&#x793A;&#x9762;&#x677F;
     *
     * @param {boolean} flag &#x662F;&#x5426;&#x663E;&#x793A;&#x53D1;&#x9001;&#x6D88;&#x606F;&#x63D0;&#x793A;&#x9762;&#x677F;
     * @memberof UserConfig
     */
    set showMessageTip(flag) {
        return this.set(&apos;ui.chat.showMessageTip&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x76F4;&#x63A5;&#x53D1;&#x9001;&#x9AD8;&#x6E05;&#x8868;&#x60C5;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get sendHDEmoticon() {
        return this.get(&apos;ui.chat.sendHDEmoticon&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x76F4;&#x63A5;&#x53D1;&#x9001;&#x9AD8;&#x6E05;&#x8868;&#x60C5;
     *
     * @param {boolean} flag &#x662F;&#x5426;&#x76F4;&#x63A5;&#x53D1;&#x9001;&#x9AD8;&#x6E05;&#x8868;&#x60C5;
     * @memberof UserConfig
     */
    set sendHDEmoticon(flag) {
        return this.set(&apos;ui.chat.sendHDEmoticon&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x5C06;&#x6D88;&#x606F;&#x4EE5; Markdown &#x683C;&#x5F0F;&#x53D1;&#x9001;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get sendMarkdown() {
        return this.get(&apos;ui.chat.sendMarkdown&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x5C06;&#x6D88;&#x606F;&#x4EE5; Markdown &#x683C;&#x5F0F;&#x53D1;&#x9001;
     *
     * @param {boolean} flag &#x5C06;&#x6D88;&#x606F;&#x4EE5; Markdown &#x683C;&#x5F0F;&#x53D1;&#x9001;
     * @memberof UserConfig
     */
    set sendMarkdown(flag) {
        return this.set(&apos;ui.chat.sendMarkdown&apos;, flag);
    }

    /**
     * &#x5224;&#x65AD;&#x7ED9;&#x5B9A;&#x5F53;&#x804A;&#x5929;&#x662F;&#x5426;&#x9690;&#x85CF;&#x804A;&#x5929;&#x4FA7;&#x8FB9;&#x680F;
     *
     * @param {string} cgid &#x804A;&#x5929; GID
     * @param {boolean} [defaultValue=false] &#x9ED8;&#x8BA4;&#x503C;
     * @return {boolean}
     * @memberof UserConfig
     */
    isChatSidebarHidden(cgid, defaultValue = false) {
        return !!this.get(`ui.chat.hideSidebar.${cgid}`, defaultValue);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x7ED9;&#x5B9A;&#x5F53;&#x804A;&#x5929;&#x662F;&#x5426;&#x9690;&#x85CF;&#x804A;&#x5929;&#x4FA7;&#x8FB9;&#x680F;
     *
     * @param {string} cgid &#x804A;&#x5929; GID
     * @param {boolean} flag &#x662F;&#x5426;&#x9690;&#x85CF;
     * @return {void}
     * @memberof UserConfig
     */
    setChatSidebarHidden(cgid, flag) {
        return this.set(`ui.chat.hideSidebar.${cgid}`, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x5728;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4E0A;&#x663E;&#x793A;&#x81EA;&#x5DF1;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get showMeOnMenu() {
        return !!this.get(&apos;ui.chat.menu.showMe&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x5728;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4E0A;&#x663E;&#x793A;&#x81EA;&#x5DF1;
     *
     * @param {boolean} flag &#x5728;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4E0A;&#x663E;&#x793A;&#x81EA;&#x5DF1;
     * @memberof UserConfig
     */
    set showMeOnMenu(flag) {
        return this.set(&apos;ui.chat.menu.showMe&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x5728;&#x8868;&#x60C5;&#x9009;&#x62E9;&#x9762;&#x677F;&#x4E0A;&#x542F;&#x7528;&#x641C;&#x7D22;&#x529F;&#x80FD;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get enableSearchInEmojionePicker() {
        return this.get(&apos;ui.chat.enableSearchInEmojionePicker&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x5728;&#x8868;&#x60C5;&#x9009;&#x62E9;&#x9762;&#x677F;&#x4E0A;&#x542F;&#x7528;&#x641C;&#x7D22;&#x529F;&#x80FD;
     *
     * @param {boolean} flag &#x5728;&#x8868;&#x60C5;&#x9009;&#x62E9;&#x9762;&#x677F;&#x4E0A;&#x542F;&#x7528;&#x641C;&#x7D22;&#x529F;&#x80FD;
     * @memberof UserConfig
     */
    set enableSearchInEmojionePicker(flag) {
        return this.set(&apos;ui.chat.enableSearchInEmojionePicker&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x542F;&#x7528;&#x684C;&#x9762;&#x901A;&#x77E5;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get enableWindowNotification() {
        return this.get(&apos;ui.notify.enableWindowNotification&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x542F;&#x7528;&#x684C;&#x9762;&#x901A;&#x77E5;
     *
     * @param {boolean} flag &#x542F;&#x7528;&#x684C;&#x9762;&#x901A;&#x77E5;
     * @memberof UserConfig
     */
    set enableWindowNotification(flag) {
        return this.set(&apos;ui.notify.enableWindowNotification&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x4E0D;&#x5728;&#x5F39;&#x7A97;&#x4E0A;&#x663E;&#x793A;&#x6D88;&#x606F;&#x5177;&#x4F53;&#x5185;&#x5BB9;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get safeWindowNotification() {
        return this.get(&apos;ui.notify.safeWindowNotification&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x4E0D;&#x5728;&#x5F39;&#x7A97;&#x4E0A;&#x663E;&#x793A;&#x6D88;&#x606F;&#x5177;&#x4F53;&#x5185;&#x5BB9;
     *
     * @param {boolean} flag &#x4E0D;&#x5728;&#x5F39;&#x7A97;&#x4E0A;&#x663E;&#x793A;&#x6D88;&#x606F;&#x5177;&#x4F53;&#x5185;&#x5BB9;
     * @memberof UserConfig
     */
    set safeWindowNotification(flag) {
        return this.set(&apos;ui.notify.safeWindowNotification&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x684C;&#x9762;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get windowNotificationCondition() {
        return this.get(&apos;ui.notify.windowNotificationCondition&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x684C;&#x9762;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @param {string} condition &#x684C;&#x9762;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     * @memberof UserConfig
     */
    set windowNotificationCondition(condition) {
        return this.set(&apos;ui.notify.windowNotificationCondition&apos;, condition);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x542F;&#x7528;&#x58F0;&#x97F3;&#x901A;&#x77E5;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get enableSound() {
        return this.get(&apos;ui.notify.enableSound&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x542F;&#x7528;&#x58F0;&#x97F3;&#x901A;&#x77E5;
     *
     * @param {boolean} flag &#x542F;&#x7528;&#x58F0;&#x97F3;&#x901A;&#x77E5;
     * @memberof UserConfig
     */
    set enableSound(flag) {
        return this.set(&apos;ui.notify.enableSound&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x58F0;&#x97F3;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get playSoundCondition() {
        return this.get(&apos;ui.notify.playSoundCondition&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x58F0;&#x97F3;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @param {string} condition &#x58F0;&#x97F3;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     * @memberof UserConfig
     */
    set playSoundCondition(condition) {
        return this.set(&apos;ui.notify.playSoundCondition&apos;, condition);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get flashTrayIcon() {
        return this.get(&apos;ui.notify.flashTrayIcon&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;
     *
     * @param {boolean} flag &#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;
     * @memberof UserConfig
     */
    set flashTrayIcon(flag) {
        return this.set(&apos;ui.notify.flashTrayIcon&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get flashTrayIconCondition() {
        return this.get(&apos;ui.notify.flashTrayIconCondition&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     *
     * @param {string} condition &#x95EA;&#x70C1;&#x901A;&#x77E5;&#x680F;&#x56FE;&#x6807;&#x901A;&#x77E5;&#x663E;&#x793A;&#x7684;&#x65F6;&#x673A;
     * @memberof UserConfig
     */
    set flashTrayIconCondition(condition) {
        return this.set(&apos;ui.notify.flashTrayIconCondition&apos;, condition);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x7981;&#x7528;&#x901A;&#x77E5;&#x5F53;&#x7528;&#x6237;&#x72B6;&#x6001;&#x8BBE;&#x7F6E;&#x4E3A;&#x5FD9;&#x788C;&#x65F6;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get muteOnUserIsBusy() {
        return this.get(&apos;ui.notify.muteOnUserIsBusy&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x7981;&#x7528;&#x901A;&#x77E5;&#x5F53;&#x7528;&#x6237;&#x72B6;&#x6001;&#x8BBE;&#x7F6E;&#x4E3A;&#x5FD9;&#x788C;&#x65F6;
     *
     * @param {boolean} flag &#x7981;&#x7528;&#x901A;&#x77E5;&#x5F53;&#x7528;&#x6237;&#x72B6;&#x6001;&#x8BBE;&#x7F6E;&#x4E3A;&#x5FD9;&#x788C;&#x65F6;
     * @memberof UserConfig
     */
    set muteOnUserIsBusy(flag) {
        return this.set(&apos;ui.notify.muteOnUserIsBusy&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x622A;&#x5C4F;&#x5FEB;&#x6377;&#x952E;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get captureScreenHotkey() {
        return this.get(&apos;shortcut.captureScreen&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x622A;&#x5C4F;&#x5FEB;&#x6377;&#x952E;
     *
     * @param {string} shortcut &#x622A;&#x5C4F;&#x5FEB;&#x6377;&#x952E;
     * @memberof UserConfig
     */
    set captureScreenHotkey(shortcut) {
        return this.set(&apos;shortcut.captureScreen&apos;, shortcut);
    }

    /**
     * &#x83B7;&#x53D6;&#x6FC0;&#x6D3B;&#x4E3B;&#x7A97;&#x53E3;&#x5FEB;&#x6377;&#x952E;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get focusWindowHotkey() {
        return this.get(&apos;shortcut.focusWindow&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x6FC0;&#x6D3B;&#x4E3B;&#x7A97;&#x53E3;&#x5FEB;&#x6377;&#x952E;
     *
     * @param {string} shortcut &#x6FC0;&#x6D3B;&#x4E3B;&#x7A97;&#x53E3;&#x5FEB;&#x6377;&#x952E;
     * @memberof UserConfig
     */
    set focusWindowHotkey(shortcut) {
        return this.set(&apos;shortcut.focusWindow&apos;, shortcut);
    }

    /**
     * &#x83B7;&#x53D6;&#x5168;&#x5C40;&#x5FEB;&#x6377;&#x952E;&#x914D;&#x7F6E;
     *
     * @readonly
     * @memberof UserConfig
     * @type {Object&lt;string, string&gt;}
     */
    get globalHotkeys() {
        return {
            captureScreenHotkey: this.captureScreenHotkey,
            focusWindowHotkey: this.focusWindowHotkey
        };
    }

    /**
     * &#x83B7;&#x53D6;&#x53D1;&#x9001;&#x6D88;&#x606F;&#x5FEB;&#x6377;&#x952E;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get sendMessageHotkey() {
        return this.get(&apos;shortcut.sendMessage&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x53D1;&#x9001;&#x6D88;&#x606F;&#x5FEB;&#x6377;&#x952E;
     *
     * @param {string} shortcut &#x53D1;&#x9001;&#x6D88;&#x606F;&#x5FEB;&#x6377;&#x952E;
     * @memberof UserConfig
     */
    set sendMessageHotkey(shortcut) {
        return this.set(&apos;shortcut.sendMessage&apos;, shortcut);
    }

    /**
     * &#x83B7;&#x53D6;&#x804A;&#x5929;&#x6D88;&#x606F;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x914D;&#x7F6E;
     *
     * @memberof UserConfig
     * @type {Object&lt;string, any&gt;}
     */
    get chatFontSize() {
        return this.get(&apos;ui.chat.fontSize&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x804A;&#x5929;&#x6D88;&#x606F;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x914D;&#x7F6E;
     *
     * @param {Object&lt;string, any&gt;} fontSize &#x804A;&#x5929;&#x6D88;&#x606F;&#x5B57;&#x4F53;&#x5927;&#x5C0F;&#x914D;&#x7F6E;
     * @memberof UserConfig
     */
    set chatFontSize(fontSize) {
        return this.set(&apos;ui.chat.fontSize&apos;, fontSize);
    }

    /**
     * &#x83B7;&#x53D6;&#x5E94;&#x7528;&#x5173;&#x95ED;&#x65F6;&#x7684;&#x7B56;&#x7565;&#x9009;&#x9879;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get appCloseOption() {
        return this.get(&apos;ui.app.onClose&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x5E94;&#x7528;&#x5173;&#x95ED;&#x65F6;&#x7684;&#x7B56;&#x7565;&#x9009;&#x9879;
     *
     * @param {string} option &#x5E94;&#x7528;&#x5173;&#x95ED;&#x65F6;&#x7684;&#x7B56;&#x7565;&#x9009;&#x9879;
     * @memberof UserConfig
     */
    set appCloseOption(option) {
        return this.set(&apos;ui.app.onClose&apos;, option);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x5F53;&#x7A97;&#x53E3;&#x5173;&#x95ED;&#x65F6;&#x4ECE;&#x4EFB;&#x52A1;&#x680F;&#x79FB;&#x9664;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get removeFromTaskbarOnHide() {
        return this.get(&apos;ui.app.removeFromTaskbarOnHide&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x5F53;&#x7A97;&#x53E3;&#x5173;&#x95ED;&#x65F6;&#x4ECE;&#x4EFB;&#x52A1;&#x680F;&#x79FB;&#x9664;
     *
     * @param {boolean} flag &#x5F53;&#x7A97;&#x53E3;&#x5173;&#x95ED;&#x65F6;&#x4ECE;&#x4EFB;&#x52A1;&#x680F;&#x79FB;&#x9664;
     * @memberof UserConfig
     */
    set removeFromTaskbarOnHide(flag) {
        return this.set(&apos;ui.app.removeFromTaskbarOnHide&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x5F53;&#x5E94;&#x7528;&#x7A97;&#x53E3;&#x5931;&#x53BB;&#x7126;&#x70B9;&#x65F6;&#x9690;&#x85CF;&#x7A97;&#x53E3;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get hideWindowOnBlur() {
        return this.get(&apos;ui.app.hideWindowOnBlur&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x5F53;&#x5E94;&#x7528;&#x7A97;&#x53E3;&#x5931;&#x53BB;&#x7126;&#x70B9;&#x65F6;&#x9690;&#x85CF;&#x7A97;&#x53E3;
     *
     * @param {boolean} flag &#x5F53;&#x5E94;&#x7528;&#x7A97;&#x53E3;&#x5931;&#x53BB;&#x7126;&#x70B9;&#x65F6;&#x9690;&#x85CF;&#x7A97;&#x53E3;
     * @memberof UserConfig
     */
    set hideWindowOnBlur(flag) {
        return this.set(&apos;ui.app.hideWindowOnBlur&apos;, flag);
    }

    /**
     * &#x83B7;&#x53D6;&#x8054;&#x7CFB;&#x4EBA;&#x5206;&#x7EC4;&#x663E;&#x793A;&#x65B9;&#x5F0F;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get contactsGroupByType() {
        return this.get(&apos;ui.chat.contacts.groupBy&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8054;&#x7CFB;&#x4EBA;&#x5206;&#x7EC4;&#x663E;&#x793A;&#x65B9;&#x5F0F;
     *
     * @param {string} type &#x8054;&#x7CFB;&#x4EBA;&#x5206;&#x7EC4;&#x663E;&#x793A;&#x65B9;&#x5F0F;
     * @memberof UserConfig
     */
    set contactsGroupByType(type) {
        return this.set(&apos;ui.chat.contacts.groupBy&apos;, type);
    }

    /**
     * &#x83B7;&#x53D6;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x89D2;&#x8272;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     *
     * @memberof UserConfig
     * @type {Object}
     */
    get contactsOrderRole() {
        return this.get(&apos;ui.chat.contacts.order.role&apos;, {});
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x89D2;&#x8272;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     *
     * @param {Object} orders &#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x89D2;&#x8272;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     * @memberof UserConfig
     */
    set contactsOrderRole(orders) {
        return this.set(&apos;ui.chat.contacts.order.role&apos;, orders);
    }

    /**
     * &#x83B7;&#x53D6;&#x8054;&#x7CFB;&#x4EBA;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x6570;&#x636E;
     *
     * @memberof UserConfig
     * @type {Object}
     */
    get contactsCategories() {
        return this.get(&apos;ui.chat.contacts.categories&apos;, {});
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8054;&#x7CFB;&#x4EBA;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x6570;&#x636E;
     *
     * @param {Object} orders &#x8054;&#x7CFB;&#x4EBA;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x6570;&#x636E;
     * @memberof UserConfig
     */
    set contactsCategories(orders) {
        return this.set(&apos;ui.chat.contacts.categories&apos;, orders);
    }

    /**
     * &#x83B7;&#x53D6;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x90E8;&#x95E8;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     *
     * @memberof UserConfig
     * @type {Object}
     */
    get contactsOrderDept() {
        return this.get(&apos;ui.chat.contacts.order.dept&apos;, {});
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x90E8;&#x95E8;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     *
     * @param {Object} orders &#x8054;&#x7CFB;&#x4EBA;&#x5217;&#x8868;&#x4EE5;&#x90E8;&#x95E8;&#x5206;&#x7EC4;&#x65F6;&#x7684;&#x6392;&#x5E8F;&#x8BBE;&#x7F6E;
     * @memberof UserConfig
     */
    set contactsOrderDept(orders) {
        return this.set(&apos;ui.chat.contacts.order.dept&apos;, orders);
    }

    /**
     * &#x83B7;&#x53D6;&#x8054;&#x7CFB;&#x4EBA;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get contactsDefaultCategoryName() {
        return this.get(&apos;ui.chat.contacts.category.default&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8054;&#x7CFB;&#x4EBA;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     *
     * @param {string} name &#x8054;&#x7CFB;&#x4EBA;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     * @memberof UserConfig
     */
    set contactsDefaultCategoryName(name) {
        return this.set(&apos;ui.chat.contacts.category.default&apos;, name);
    }

    /**
     * &#x83B7;&#x53D6;&#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x914D;&#x7F6E;
     *
     * @memberof UserConfig
     * @type {Object}
     */
    get groupsCategories() {
        return this.get(&apos;ui.chat.groups.categories&apos;, {});
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x914D;&#x7F6E;
     *
     * @param {Object} orders &#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x81EA;&#x5B9A;&#x4E49;&#x5206;&#x7EC4;&#x914D;&#x7F6E;
     * @memberof UserConfig
     */
    set groupsCategories(orders) {
        return this.set(&apos;ui.chat.groups.categories&apos;, orders);
    }

    /**
     * &#x83B7;&#x53D6;&#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     *
     * @memberof UserConfig
     * @type {string}
     */
    get groupsDefaultCategoryName() {
        return this.get(&apos;ui.chat.groups.category.default&apos;);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     *
     * @param {string} name &#x8BA8;&#x8BBA;&#x7EC4;&#x5217;&#x8868;&#x9ED8;&#x8BA4;&#x5206;&#x7EC4;&#x540D;&#x79F0;
     * @memberof UserConfig
     */
    set groupsDefaultCategoryName(name) {
        return this.set(&apos;ui.chat.groups.category.default&apos;, name);
    }

    /**
     * &#x83B7;&#x53D6;&#x8BA8;&#x8BBA;&#x7EC4;&#x5206;&#x7EC4;&#x6298;&#x53E0;&#x5C55;&#x5F00;&#x72B6;&#x6001;
     *
     * @memberof UserConfig
     * @type {Object}
     */
    get chatGroupStates() {
        return this.get(&apos;ui.chat.list.group.states&apos;, {});
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8BA8;&#x8BBA;&#x7EC4;&#x5206;&#x7EC4;&#x6298;&#x53E0;&#x5C55;&#x5F00;&#x72B6;&#x6001;
     *
     * @param {Object} states &#x8BA8;&#x8BBA;&#x7EC4;&#x5206;&#x7EC4;&#x6298;&#x53E0;&#x5C55;&#x5F00;&#x72B6;&#x6001;
     * @memberof UserConfig
     */
    set chatGroupStates(states) {
        return this.set(&apos;ui.chat.list.group.states&apos;, states);
    }

    /**
     * &#x83B7;&#x53D6;&#x662F;&#x5426;&#x76D1;&#x542C;&#x526A;&#x5207;&#x677F;&#x56FE;&#x7247;&#x5E76;&#x63D0;&#x793A;&#x53D1;&#x9001;
     *
     * @memberof UserConfig
     * @type {boolean}
     */
    get listenClipboardImage() {
        return this.get(&apos;ui.chat.listenClipboardImage&apos;, true);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x662F;&#x5426;&#x76D1;&#x542C;&#x526A;&#x5207;&#x677F;&#x56FE;&#x7247;&#x5E76;&#x63D0;&#x793A;&#x53D1;&#x9001;
     *
     * @param {boolean} flag &#x76D1;&#x542C;&#x526A;&#x5207;&#x677F;&#x56FE;&#x7247;&#x5E76;&#x63D0;&#x793A;&#x53D1;&#x9001;
     * @memberof UserConfig
     */
    set listenClipboardImage(flag) {
        return this.set(&apos;ui.chat.listenClipboardImage&apos;, flag);
    }

    /**
     * &#x8BBE;&#x7F6E;&#x8BA8;&#x8BBA;&#x7EC4;&#x5206;&#x7EC4;&#x6298;&#x53E0;&#x5C55;&#x5F00;&#x72B6;&#x6001;
     *
     * @param {string} listType &#x5217;&#x8868;&#x7C7B;&#x578B;
     * @param {string} groupType &#x5206;&#x7EC4;&#x7C7B;&#x578B;
     * @param {string} id &#x7EC4;&#x7F16;&#x53F7;
     * @param {boolean} expanded &#x662F;&#x5426;&#x5C55;&#x5F00;
     * @memberof UserConfig
     * @return {void}
     */
    setChatMenuGroupState(listType, groupType, id, expanded) {
        const {chatGroupStates} = this;
        const key = `${listType}.${groupType}.${id}`;
        if (expanded) {
            chatGroupStates[key] = expanded;
        } else if (chatGroupStates[key]) {
            delete chatGroupStates[key];
        }
        this.chatGroupStates = chatGroupStates;
    }

    /**
     * &#x68C0;&#x67E5;&#x8BA8;&#x8BBA;&#x7EC4;&#x5206;&#x7EC4;&#x6298;&#x53E0;&#x5C55;&#x5F00;&#x72B6;&#x6001;
     *
     * @param {string} listType &#x5217;&#x8868;&#x7C7B;&#x578B;
     * @param {string} groupType &#x5206;&#x7EC4;&#x7C7B;&#x578B;
     * @param {string} id &#x7EC4;&#x7F16;&#x53F7;
     * @return {boolean}
     * @memberof UserConfig
     */
    getChatMenuGroupState(listType, groupType, id) {
        const {chatGroupStates} = this;
        return !!(chatGroupStates &amp;&amp; chatGroupStates[`${listType}.${groupType}.${id}`]);
    }
}
</code></pre>

</div>

<footer class="footer">
  Generated by <a href="https://esdoc.org">ESDoc<span data-ice="esdocVersion">(1.1.0)</span><img src="./image/esdoc-logo-mini-black.png"></a>
</footer>

<script src="script/search_index.js"></script>
<script src="script/search.js"></script>
<script src="script/pretty-print.js"></script>
<script src="script/inherited-summary.js"></script>
<script src="script/test-summary.js"></script>
<script src="script/inner-link.js"></script>
<script src="script/patch-for-local.js"></script>
</body>
</html>
